package com.itaem.community.modules.announcement.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.itaem.community.core.entity.Entity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 公告
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("announcement")
@ApiModel(value="AnnouncementEntity对象", description="公告")
public class AnnouncementEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物业id")
    private Integer propertyId;

    @ApiModelProperty(value = "物业管理员id")
    private Integer administratorId;

    @ApiModelProperty(value = "管理员名")
    private String administratorName;

    @ApiModelProperty(value = "公告发布时间")
    private LocalDate publicationTime;

    @ApiModelProperty(value = "公告内容")
    private String content;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
